package cn.zniot.so.apiprovide.business;

import cn.zniot.so.application.constant.Constants;

public class ForgetSecretResponse extends Response {
	private String userId = null;

	public ForgetSecretResponse(String userId) {
		this.userId = userId;
	}

	/**
	 *  @覆盖父类或实现接口的toXMLPage（）方法
	 * 方法名：toXMLPage()
	 * 功　能：把解析出来的内容以可变字符串的形式展示给客户端
	 * 参　数：无
	 * 返回值：String  -&xml文件
	 * 参　考：@see com.telemsoft.response.OBDResponse#toXMLPage()
	 */
	@Override
	public String toJsonPage() {
		if(userId == null){
			return Constants.MAX_ECT_ALERT;
		}else {
			return Constants.MIN_VBV_ALERT;
		}
	}
}
